<?php
/**
 * Created by PhpStorm.
 * User: Mr.Li<LHB2002@qq.com>
 * Date: 2017-09-27
 * Time: 15:34
 */
/*配置信息*/
return array(
    //缓存参数配置
    'cache'=>array(
        'path'=>'cecha_img' . DIRECTORY_SEPARATOR,             //缓存路径
        'validity'=>604800,        //压缩有效时间
    ),
    'default_style' =>  'size_320_480',
    //样式设置
    'style'=>array(
        'size_320_480' =>  array(
            'width'=>320,
            'height'=>480,
            'quality'=>80,
            'ignore'=>1024*50,      //忽略50kb以下的文件
            'resolution'=>false
        ),
        'resolution_50_50' =>  array(
            'width'=>0.5,       //计算分辨的50%
            'height'=>0.5,
            'quality'=>80,
            'ignore'=>1024*50,
            'resolution'=>true  //分辨模式
        ),
    )
);